Library

Launching Applications

Methods for opening a Windows desktop application, passing launch parameters, assigning a name for identification, and closing it when done.

Selector Targeting

Methods for defining which UI automation elements the next action targets, including repeating element groups and persistent selectors.

Mouse, Keyboard, and Input

Methods for clicking elements, typing text, pressing special keys, and switching focus between controls in a desktop application.

Form Data Entry

Methods for filling desktop application inputs from data sources - overwriting, appending, or inserting from strings, files, databases, or grids.

Selector Paths

How an XPath-like selector names a UIAutomation element: control types, attributes, position, and the descendant axis.

File Dialogs

Answering the Windows Open, Save As and folder picker dialogs, through UIAutomation rather than by typing into them.

Reading Data

Pulling rows out of a desktop application with GetGrid, naming the columns, and saving them to a file.

Drag and Drop

Dragging an element to another element, or by a distance, with the selection built the way a person builds it.

Windows and Launching

Settling on the right window, sizing and moving it, and launching a program that is already running.

Scrolling

Methods for scrolling UI Automation elements within a desktop application, both vertically and horizontally.

Waiting

Methods for pausing execution until a specific time has passed, a UI element appears, or a named Windows window becomes visible.

Callbacks and Conditional Logic

Methods for attaching custom logic that runs after data entry, when selectors match elements, or when selectors find no elements.

💬 Ask GPAL